package com.ruoyi.order.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 疑义账单列表对象 tb_order_complaint
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbOrderComplaint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申诉ID */
    @Excel(name = "申诉ID")
    private Long complaintId;

    /** 关联订单 */
    @Excel(name = "关联订单")
    private Long orderId;

    /** 乘客ID */
    @Excel(name = "乘客ID")
    private Long passengerId;

    /** 司机ID */
    @Excel(name = "司机ID")
    private Long driverId;

    /** 申诉提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申诉提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 申诉原因 */
    @Excel(name = "申诉原因")
    private String complaintReason;

    /** 处理类型：充值、扣款、补发优惠券等 */
    @Excel(name = "处理类型：充值、扣款、补发优惠券等")
    private Long handleType;

    /** 处理结果：待审核、已处理等 */
    @Excel(name = "处理结果：待审核、已处理等")
    private Long handleResult;

    /** 处理方案描述 */
    @Excel(name = "处理方案描述")
    private String handleScheme;

    /** 调账前金额 */
    @Excel(name = "调账前金额")
    private BigDecimal beforeAdjust;

    /** 调账后金额 */
    @Excel(name = "调账后金额")
    private BigDecimal afterAdjust;

    /** 当前状态：待审核、已完成 */
    @Excel(name = "当前状态：待审核、已完成")
    private Long status;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operateTime;

    /** 处理人 */
    @Excel(name = "处理人")
    private String operator;

    public void setComplaintId(Long complaintId) 
    {
        this.complaintId = complaintId;
    }

    public Long getComplaintId() 
    {
        return complaintId;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setPassengerId(Long passengerId) 
    {
        this.passengerId = passengerId;
    }

    public Long getPassengerId() 
    {
        return passengerId;
    }

    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }

    public void setSubmitTime(Date submitTime) 
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime() 
    {
        return submitTime;
    }

    public void setComplaintReason(String complaintReason) 
    {
        this.complaintReason = complaintReason;
    }

    public String getComplaintReason() 
    {
        return complaintReason;
    }

    public void setHandleType(Long handleType) 
    {
        this.handleType = handleType;
    }

    public Long getHandleType() 
    {
        return handleType;
    }

    public void setHandleResult(Long handleResult) 
    {
        this.handleResult = handleResult;
    }

    public Long getHandleResult() 
    {
        return handleResult;
    }

    public void setHandleScheme(String handleScheme) 
    {
        this.handleScheme = handleScheme;
    }

    public String getHandleScheme() 
    {
        return handleScheme;
    }

    public void setBeforeAdjust(BigDecimal beforeAdjust) 
    {
        this.beforeAdjust = beforeAdjust;
    }

    public BigDecimal getBeforeAdjust() 
    {
        return beforeAdjust;
    }

    public void setAfterAdjust(BigDecimal afterAdjust) 
    {
        this.afterAdjust = afterAdjust;
    }

    public BigDecimal getAfterAdjust() 
    {
        return afterAdjust;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }

    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("complaintId", getComplaintId())
            .append("orderId", getOrderId())
            .append("passengerId", getPassengerId())
            .append("driverId", getDriverId())
            .append("submitTime", getSubmitTime())
            .append("complaintReason", getComplaintReason())
            .append("handleType", getHandleType())
            .append("handleResult", getHandleResult())
            .append("handleScheme", getHandleScheme())
            .append("beforeAdjust", getBeforeAdjust())
            .append("afterAdjust", getAfterAdjust())
            .append("status", getStatus())
            .append("operateTime", getOperateTime())
            .append("operator", getOperator())
            .toString();
    }
}
